package com.xiaotu.day01;

public class DianCai {
    private Integer id;
    private String name;
    private Double pice;

    @Override
    public String toString() {
        return "DianCai{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pice=" + pice +
                '}';
    }

    public DianCai() {
    }

    public DianCai(Integer id, String name, Double pice) {
        this.id = id;
        this.name = name;
        this.pice = pice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPice() {
        return pice;
    }

    public void setPice(Double pice) {
        this.pice = pice;
    }
}
